package ar.com.personalTravellers.beans.internationalizer;

import com.angel.arquitectura.model.internationalization.Language;
import com.angel.resourceBundle.internationalizer.Internationalizer;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;

@Entity
@DiscriminatorValue("LanguajeInternationalizer")
public class LanguageInternationalizer extends Internationalizer{

    @ManyToOne
	private Language languaje;

    public Object getOwner() {
        return this.getLanguaje();
    }

    public void setOwner(Object o) {
        this.setLanguaje((Language) o);
    }

    public Language getLanguaje() {
        return languaje;
    }

    public void setLanguaje(Language languaje) {
        this.languaje = languaje;
    }
}